package com.sea.physical.mapper;


import com.sea.physical.entity.CreatePlan;
import com.sea.physical.entity.CreatePlanSupplierFile;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 创建发运计划
 * @author 陈鸿飞
 */
public interface CreatePlanSupplierFileMapper {


    /**
     * 新增
     * @param createPlanSupplierFile
     * @return
     */
    Integer insert(CreatePlanSupplierFile createPlanSupplierFile);

    /**
     *
     * @param createPlanNo
     * @return
     */
    List<CreatePlanSupplierFile> findByCreatePlanNo(String createPlanNo);

    /**
     * 根据柜号删除数据
     * @param createPlanNo
     * @return
     */
    Integer deleteByCreatePlanNo(String createPlanNo);

    Integer updateRequestId(@Param("requestId")String requestId,
                            @Param("createPlanNo")String createPlanNo,
                            @Param("supplierName")String supplierName);


}
